import 'package:flutter/material.dart';

import 'package:logging/logging.dart';

import 'src/app.dart';

final _log = new Logger('event_bus_example');

void main() {
  
  initLogging();

  runApp(XxxApp());

}



initLogging() {

  // Print output to console.
  Logger.root.onRecord.listen((LogRecord r) {
    debugPrint('${r.time}\t${r.loggerName}\t[${r.level.name}]:\t${r.message}');
  });

  // Root logger level.
  Logger.root.level = Level.FINEST;

}


